﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MvcAppFinal1.Models.OMS.Domain.Model;

namespace MvcAppFinal1.Models.OMS.Model.Repositories
{
    interface IUserRepository
    {
        User Add(User user);
        User Delete(User user);
        bool Update(User user);
        IList<User> UserToList();
        IQueryable<User> UserToQuery();
        User GetById(int id);
        User GetByLogin(string login);
    }
}
